package controller;

import gui.RegisterUI;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class BtnClearFieldsAction implements ActionListener {

	private RegisterUI gui;

	public BtnClearFieldsAction(RegisterUI gui) {
		this.gui = gui;
	}
	
	@Override
	public void actionPerformed(ActionEvent e) {
		gui.getTf_account_id().setText("");
		gui.getTf_confirm().setText("");
		gui.getTf_country().setText("");
		gui.getTf_full_name().setText("");
		gui.getTf_password().setText("");
		gui.getTf_phone().setText("");
	}

}
